Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run iptables-wrapper every time the container starts #166

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

manuelbuil
Copy link
Contributor

@manuelbuil manuelbuil commented Jul 17, 2023

Without this PR, iptables mode is only evaluated the first time the container is deployed. Restarts of the container will not change the iptables mode. As a consequence, we were having this bug: https://jira.suse.com/browse/SURE-6603.

This PR makes sure that the iptables mode gets evaluated everytime the pod is started, e.g. during a reboot of the hostOS

Issue: rancher/rancher#42103

Signed-off-by: Manuel Buil <mbuil@suse.com>
@Sahota1225 Sahota1225 requested a review from a team July 17, 2023 19:35
@superseb superseb self-requested a review August 9, 2023 07:27
@manuelbuil manuelbuil merged commit 2408104 into rancher:master Aug 9, 2023
@manuelbuil manuelbuil deleted the iptables-wrapper branch August 9, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants